home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / config / VMake.config < prev   
Text File  |  1993-11-01  |  6KB  |  166 lines

  1. /*
  2.  * $VER: VMake.Config 2.6 (10.10.93)
  3.  */
  4. TITLE "DICE Visual Make V2.6 © 1993 Obvious Implementations Corp."
  5.  
  6. /* These first few TEXT items are names for buttons that*/
  7. /* have fixed functions assigned to them.               */
  8. TEXT "NEW"  /* VERY SHORT Name to fit in a short button */
  9. TEXT "DEL"
  10. TEXT "OK"
  11. TEXT "CANCEL"
  12. TEXT "Check Out from RCS"
  13. TEXT "Save Project"
  14.  
  15. TEXT "Project:"
  16. TEXT "No Current Project"
  17.  
  18. TEXT "Script is READ-ONLY.  Check out from RCS?"
  19. TEXT "Unable to open file :"
  20. TEXT "I/O error on file :"
  21. TEXT "WARNING: File is READ-ONLY. You will not be able to change it"
  22. TEXT "WARNING: This will REPLACE an existing project"
  23. TEXT "WARNING: Project has been changed.  Changes will be lost"
  24. TEXT "Invalid command :"
  25. TEXT "Nothing is selected to operate on"
  26. TEXT "Out of Memory"
  27. TEXT "Invalid or missing project name"
  28. TEXT "No project open, use NEW command to start one"
  29. TEXT "Symbols too large for command buffer"
  30. TEXT "Unable to select requested item: "
  31. TEXT "Invalid or missing parameters for command"
  32.  
  33. /***********************************************************
  34.  * We need a set of configurations to control how VMAKE will
  35.  * invoke commands and issue operations
  36.  ***********************************************************/
  37. CONFIG "CON:0/1/640/200/VMake Console/AUTO"  /* Console for command output      */
  38. CONFIG "(#?FILE|#?DM#AK#?|#?.DICE)" /* Pattern to match against project files           */
  39. CONFIG "~(#?.O|#?.info)"    /* Pattern to locate files to be added to a project */
  40. CONFIG "(#?.config)"        /* Pattern to locate configuration files */
  41. CONFIG ".DICE"              /* Default extension to add to all project files    */
  42. CONFIG "EDIT"               /* Command to execute on double click               */
  43. CONFIG "TTXSAME %s PROJECT %(_PORT_)"        /* Invoke the editor               */
  44. CONFIG "CO -l %s"           /* Command to Check out a file                      */
  45. CONFIG "LOG ----- Building %o -----;EXEC DMake -f %f -a %t;FRONT"
  46. CONFIG "LOG ----- Making Project -----;EXEC DMake -f %f;FRONT"
  47. CONFIG "LOG ----- Deleting Objects -----;EXEC DMake -f %f clean;FRONT"
  48. CONFIG "EXEC %(EXEDIR)%(PROJECT) %(CLIARGS)"
  49.  
  50. /***********************************************************
  51.  * Here are all the menu items.
  52.  * You can have:
  53.  *   MENU "title"
  54.  *   ITEM "title" "shortcut"
  55.  *   BAR
  56.  ***********************************************************/
  57. MENU "Project"
  58.    ITEM "Open..."           "O"  "Read ?"
  59.    ITEM "New..."            "Y"  "New ?"
  60.    BAR
  61.    ITEM "Save"              "S"  "Save"
  62.    ITEM "Save As..."        "A"  "Save ?"
  63.    BAR
  64.    ITEM "CLI"               ""   "EXEC NEWSHELL CONSOLE:"
  65.    ITEM "Jump"              ""   "Jump"
  66.    ITEM "Config..."         ""   "RECFG"
  67.    BAR
  68.    ITEM "Quit"              "Q"  "Quit"
  69.  
  70. MENU "Edit"
  71.  
  72.    ITEM "Options"           "T"  "EXEC VOpts %f;read %f;"
  73.    ITEM "Edit"              "E"  "EDIT"
  74.    ITEM "Search"            "?"  "EXEC SEARCH %(SRCS) %(HDRS) ?"
  75.    ITEM "Update Revision"   ""   "EXEC UPREV %(PROJECT) %(VERSION)"
  76.    BAR
  77.    ITEM "Toggle Log"        ""   "TRACE"
  78.    BAR
  79.    ITEM "SCAN"              ""   "SCAN"
  80.    ITEM "SCAN .C"           ""   "SCAN #?.c"
  81.    ITEM "SCAN .H"           ""   "SCAN #?.h"
  82.  
  83. MENU "RCS"
  84.    ITEM "Show Locked"       "/"  "LOG ----- LOCKED FILES -----;EXEC RLOG -L -R %(SRCS) %(HDRS) %(DMAKEFILE)"
  85.    ITEM "Check In"          "I"  "EXEC CI -u %s;FRONT"
  86.    ITEM "Check Out (LOCK)"  "K"  "EXEC CO -l %s;FRONT"
  87.    ITEM "Refresh"           ""   "EXEC CO %s;FRONT"
  88.    BAR
  89.    ITEM "History"           ""   "LOG ----- History for %s -----;EXEC RLOG %s"
  90.    ITEM "Difference"        ""   "LOG ----- Changes in %s -----;EXEC RCSDIFF %s"
  91.  
  92. MENU "Run"
  93.    ITEM "Run (CLI)"         "R"  "CALL 11"
  94.    ITEM "Run (Workbench)"   ""   "EXEC WBRUN %(EXEDIR)%(PROJECT)"
  95.    ITEM "Debug"             "D"  "EXEC DD %(EXEDIR)%(PROJECT) %(CLIARGS)"
  96.  
  97. MENU "Compile"
  98.    ITEM "Compile Selected"  "C"  "CALL 8"
  99.    ITEM "Make"              "M"  "CALL 9"
  100.    ITEM "Link"              "L"  "LOG ----- Linking -----;EXEC DMake -f %f relink;FRONT"
  101.    ITEM "Build All"         "B"  "CALL 10;CALL 9"
  102.  
  103. MENU "List"
  104.    ITEM "Top"               "<"   "LTOP"
  105.    ITEM "Bottom"            ">"   "LBOT"
  106.    BAR
  107.    ITEM "Down"              "."   "LDN"
  108.    ITEM "Up"                ","   "LUP"
  109.    BAR
  110.    ITEM "Add"               ""    "ADD"
  111.    ITEM "Delete"            ""    "DEL"
  112.    ITEM "Select"            ""    "SELECT"
  113. /* Note: ADD and SELECT can take a name as a parameter, DEL takes no parameter */
  114.  
  115. /***********************************************************
  116.  * These are the gadgets that appear on the left side of the
  117.  * Window.  The following gadget types are supported
  118.  *   CYCLE "title"  followed by a series of
  119.  *      VALUE "title" "option"
  120.  *   CHECK "title"  "no-option" "option"
  121.  *   LIST "title" "option"
  122.  *   STRING "title" "option"
  123.  * If the option string has a %s in it, it indicates that
  124.  * substitution is to occur in that option.  When such a thing
  125.  * occurs within a VALUE for a CYCLE, then a string requester
  126.  * is to be part of the cycle button for that value.
  127.  * The first VALUE in a CYCLE is the default.
  128.  *
  129.  * Due to size constraints, you can expect to get about 10
  130.  * gadgets here.
  131.  ***********************************************************/
  132.  
  133. STRING "Project Name:"           "PROJECT"
  134.  
  135. CYCLE "Source Directory:"
  136.    VALUE "Same as Script"        "DIR"
  137.    VALUE "Other:"                "DIR %20s"
  138.  
  139. LIST "Project Files (.c, .a, .h, ...)"       "Files"
  140.  
  141. CYCLE "Path to Executable"
  142.    VALUE "Source Directory"      "EXEDIR"
  143.    VALUE "RAM:"                  "EXEDIR RAM:"
  144.    VALUE "Other:"                "EXEDIR %20s"
  145.  
  146. CYCLE "Object Files:"
  147.    VALUE "Source Directory"      "OD"
  148.    VALUE "DTMP:"                 "OD DTMP:"
  149.    VALUE "Other:"                "OD %20s"
  150.  
  151. CYCLE "Precompiled Header:"
  152.    VALUE "None"                  "PRECOMP"
  153.    VALUE "Default"               "PRECOMP $(PDEFAULT)"
  154.    VALUE "Special:"              "PRECOMP %20s"
  155.  
  156. STRING "CLI Arguments:"          "CLIARGS"
  157.  
  158. /***************************************************
  159.  *
  160.  ***************************************************/
  161. BUTTON "Make"     "CALL 9"
  162. BUTTON "Compile"  "CALL 8"
  163. BUTTON "Run"      "CALL 9;CALL 11"
  164. BUTTON "Edit"     "EDIT"
  165. BUTTON "Diff"     "LOG ----- Changes in %s -----;EXEC RCSDIFF %s"
  166.